package com.macro.mall.portal.dao;

import com.macro.mall.portal.domain.UmsView;
import com.macro.mall.portal.domain.UmsViewComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：Minxiao-Hao
 * @Description: 商品评价图片和视频的Dao
 * @name：UmsViewDao
 * @Date：2024/10/26 14:11
 */

public interface UmsViewCommentDao {

    void addView(@Param("commentId") Integer commentId, @Param("umsViewsData") List<UmsView> umsViewsData);

    List<UmsViewComment> findByCommentId(Integer commentId);

    List<UmsViewComment> findByCommentIds(List<Integer> allCommentIds);
}
